﻿<Window x:Class="Fidely.Demo.GettingStarted.WPF.Views.PreferencesWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Preferences"
        WindowStartupLocation="CenterScreen"
        ResizeMode="NoResize"
        ShowInTaskbar="False"
        MinHeight="300" Height="300" MinWidth="400" Width="400">
    <DockPanel Margin="10">
        <StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" HorizontalAlignment="Right">
            <Button Command="{Binding CommitCommand}" Margin="5" Width="60">OK</Button>
            <Button Command="{Binding CancelCommand}" Margin="5" Width="60">Cancel</Button>
        </StackPanel>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <Label Grid.Row="0">Auto Complete Matching Mode :</Label>
            <ComboBox Grid.Row="1" ItemsSource="{Binding MatchingModes}" DisplayMemberPath="Key" SelectedValuePath="Value" SelectedValue="{Binding MatchingMode}" Margin="10,0"/>
        </Grid>
    </DockPanel>
</Window>
